/*******************************************************************************
* Copyright (C) 2019 China Micro Semiconductor Limited Company. All Rights Reserved.
*
* This software is owned and published by:
* CMS LLC, No 2609-10, Taurus Plaza, TaoyuanRoad, NanshanDistrict, Shenzhen, China.
*
* BY DOWNLOADING, INSTALLING OR USING THIS SOFTWARE, YOU AGREE TO BE BOUND
* BY ALL THE TERMS AND CONDITIONS OF THIS AGREEMENT.
*
* This software contains source code for use with CMS
* components. This software is licensed by CMS to be adapted only
* for use in systems utilizing mixic components. CMS shall not be
* responsible for misuse or illegal use of this software for devices not
* supported herein. CMS is providing this software "AS IS" and will
* not be responsible for issues arising from incorrect user implementation
* of the software.
*
* This software may be replicated in part or whole for the licensed use,
* with the restriction that this Disclaimer and Copyright notice must be
* included with each copy of this software, whether used in part or whole,
* at all times.
*/

/*****************************************************************************/
/** \file app_crc.h
**
** History:
** 
*****************************************************************************/
#ifndef __TYPE_DEFINE_H_
#define __TYPE_DEFINE_H_

#ifdef __cplusplus
extern "C"
{
#endif


#define	s8   signed char
#define	s16  signed short int
#define	s32  signed int 
#define	u8   unsigned char 
#define	u16  unsigned short int 
#define	u32  unsigned int 


#define 	ABSFUN(Value)			 		((Value)>=0?(Value):(-(Value)))
#endif

